package com.shxc.smarttrade.other.model;

/**
 * Created by czq on 2017/12/19.
 */

public class SysConfigModel {

    /**
     * data : {"config":{"version":"1.0.0","channel":"AppStore","os":"iOS","dealSwitch":false}}
     * err_code : 0
     * err_msg : successe
     */

    private DataBean data;
    private String err_code;
    private String err_msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        /**
         * config : {"version":"1.0.0","channel":"AppStore","os":"iOS","dealSwitch":false}
         */

        private ConfigBean config;

        public ConfigBean getConfig() {
            return config;
        }

        public void setConfig(ConfigBean config) {
            this.config = config;
        }

        public static class ConfigBean {
            /**
             * version : 1.0.0
             * channel : AppStore
             * os : iOS
             * dealSwitch : false
             */

            private String version;//版本
            private String channel;//渠道
            private String os;//平台
            private boolean dealSwitch;//开关 默认关闭 false

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getChannel() {
                return channel;
            }

            public void setChannel(String channel) {
                this.channel = channel;
            }

            public String getOs() {
                return os;
            }

            public void setOs(String os) {
                this.os = os;
            }

            public boolean isDealSwitch() {
                return dealSwitch;
            }

            public void setDealSwitch(boolean dealSwitch) {
                this.dealSwitch = dealSwitch;
            }
        }
    }
}
